<?xml version="1.0" encoding="UTF-8" ?>



<xsl:stylesheet version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
	xmlns:tmt="http://www.massimocorner.com/validator">
	<xsl:param name="DOTNET2"/>
	
	<xsl:output method="html" indent="yes"/>
	
	
	

	<xsl:template match="Instance">
	
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class <xsl:value-of select="Name"/> : System.Web.UI.Page
{
    protected void Page_Load ( object sender , EventArgs e )
    {
        AjaxPro.Utility.RegisterTypeForAjax ( typeof ( <xsl:value-of select="HeaderInfo/ProjectName"/>Library.Instance.<xsl:value-of select="Name"/> ) );
        Form<xsl:value-of select="Name"/>.Attributes.Add ( "tmt:validate" , "true" );
        Form<xsl:value-of select="Name"/>.Attributes.Add ( "tmt:blocksubmit" , "true" );
    }
}

	
	</xsl:template>
	
</xsl:stylesheet>